//
//  NSLayoutConstraint+IBDesignable.m
//  JGRider
//
//  Created by 单启志 on 2018/1/29.
//  Copyright © 2018年 ffq. All rights reserved.
//

#import "NSLayoutConstraint+IBDesignable.h"

@implementation NSLayoutConstraint (IBDesignable)

-(void)setAdapterScreen:(BOOL)adapterScreen{
    if (adapterScreen){
        self.constant = self.constant * kScreenHeightRatio;
    }
}

-(BOOL)adapterScreen{
    return YES;
}

@end
